﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateNewFlow.aspx.cs" Inherits="admin_Flow_BackManage_UpdateNewFlow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    
        <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
   <script type="text/javascript" src="../../Scripts/jquery.ui/js/jquery.js"></script>

         <style type="text/css">
            <!--
            html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
            scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
            -->
        </style>

</head>
<body>
    <form id="form1" runat="server">
        <div class="sub_right_top">
   <div class="hdm_footer">
     <div style="height:13px; overflow:hidden;"></div>            
       <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
         <tr bgcolor="#b1d5ef">
           <td colspan="2" align="center">编辑流程-基本属性</td>
         </tr>
         <tr>
           <td>流程分类：</td>
           <td><label>
             <asp:DropDownList ID="ddlBase_Flow" runat="server" DataSourceID="FlowTypeDataSource"
                                    DataTextField="Flow_name" DataValueField="Id" Font-Size="12px">
                                </asp:DropDownList>
           </label></td>
         </tr>
         <tr>
           <td>流程排序号：</td>
           <td><label>
             <asp:TextBox ID="txtNew_Flow_Sort" runat="server" Width="50px"></asp:TextBox>控制同一分类下流程的排序<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNew_Flow_Sort"
            Font-Bold="True" ErrorMessage="流程排序号不能为空！">*</asp:RequiredFieldValidator>
        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtNew_Flow_Sort"
            Font-Bold="True" MinimumValue="0" Type="Integer" ErrorMessage="流程排序号必须是大于0的整数！">*</asp:RangeValidator>
           </label></td>
         </tr>
         <tr>
           <td>流程名称：</td>
           <td><label>
              <asp:TextBox ID="txtNew_Flow_Name" runat="server" Width="80%"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNew_Flow_Name"
            Font-Bold="True" ErrorMessage="流程名称不能为空！">*</asp:RequiredFieldValidator>
           </label></td>
         </tr>
         <tr>
           <td>流程类型：</td>
           <td><label>
             <asp:DropDownList ID="ddlNew_Flow_Type" runat="server" Font-Size="12px">
                                    <asp:ListItem Value="1">固定流程</asp:ListItem>
                                    <asp:ListItem Value="2">自由流程</asp:ListItem>
                                </asp:DropDownList>
           </label></td>
         </tr>
         <tr>
           <td>表单：</td>
           <td><label>
              <asp:DropDownList ID="ddl_Form" runat="server" DataSourceID="FlowFormDataSource"
                                    DataTextField="Form_name" DataValueField="Id" Font-Size="12px">
                                </asp:DropDownList>
           </label></td>
         </tr>
         <tr>
           <td width="100">允许附件：</td>
           <td><label>
             <asp:DropDownList ID="ddlAllow_AffixFile" runat="server" Font-Size="12px">
                                    <asp:ListItem Value="1">是</asp:ListItem>
                                    <asp:ListItem Value="0">否</asp:ListItem>
                                </asp:DropDownList>
           </label></td>
         </tr>
         <tr bgcolor="#b1d5ef">
           <td colspan="2">
             <div class="disk_queding_top">
                 <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="" CssClass="queding_anniu"/>
             </div>             
             <div class="disk_back_top">
                <asp:Button ID="btnBack" runat="server" CausesValidation="False" PostBackUrl="~/admin/Flow_BackManage/Flow_NewFlowList.aspx"
                                    Text="" CssClass="fanhui_anniu"/>
           </div></td>
         </tr>
       </table>
     <div style="height:15px; overflow:hidden;"></div> 
   </div>
</div>

        <asp:ObjectDataSource ID="FlowTypeDataSource" runat="server" SelectMethod="FindAllTypes"
            TypeName="TarreOA.TarreOABLL.Flow_Type_Service"></asp:ObjectDataSource>
        <asp:ObjectDataSource ID="FlowFormDataSource" runat="server" SelectMethod="FindAllForms"
            TypeName="TarreOA.TarreOABLL.Flow_Forms_Service"></asp:ObjectDataSource>
    </form>
</body>
</html>
